package com.aiit.mapper;

import com.aiit.pojo.Resume;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LuTao
 * @Date: 2022/05/09/10:57
 */
@Mapper
public interface ResumeMapper extends BaseMapper<Resume> {
    //根据条件分页查询用户
    List<Resume> getByCondition(@Param("skipCount") long skipCount, @Param("limit") Long limit, @Param("username") String username);
    //根据条件分页查询用户数量
    Long getCountByCondition(@Param("username") String username);
}
